//
//  WCBookmark.h
//  WabbitCode
//
//  Created by William Towe on 4/12/09.
//  Copyright 2009 Revolution Software. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "WCTreeNode.h"


@class WCTextFile;

@interface WCBookmark : WCTreeNode <NSCoding, NSCopying> {
	WCTextFile *_textFile;
	NSUInteger _lineNumber;
}
@property (readwrite, retain) WCTextFile *textFile;
@property (readwrite, assign) NSUInteger lineNumber;
@property (readonly) NSString *fileAndLineNumber;

+ (WCBookmark *)bookmarkWithTextFile:(WCTextFile *)textFile lineNumber:(NSUInteger)lineNumber;
@end
